package com.tao.feignClient;



import com.tao.pojo.vo.ProductVo;
import com.tao.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("product-service")
public interface ProductClient {
    @GetMapping("/webPage/product/{id}")
    Result<ProductVo> getById(@PathVariable Integer id);
}
